﻿using UnityEngine;
using System.Collections;

public class FlipCard : MonoBehaviour {
	 Quaternion target = Quaternion.Euler(0f,0,0f);
	public float speed =160f;

	void  Start()
	{

	}
	void Update()
	{
		float step = speed * Time.deltaTime;
		transform.rotation = Quaternion.RotateTowards(transform.rotation, target, step);
	}
}
